﻿/*
* ==============================================================================
*
* FileName: CompanyDto.cs
* Created: 2020/6/08 10:45:49
* Author: Meiam
* Description: 
*
* ==============================================================================
*/
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Meiam.System.Model.Dto
{

    /// <summary>
    /// MES数据对象
    /// </summary>
    public class InvTransActionsToERPDto : PageParm
    {

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "")]
        public string QueryText { get; set; }

    }

    /// <summary>
    /// INV库存处理
    /// </summary>
    public class InvTranActionsResponseDto
    {
        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 1
        /// </summary>
        [Display(Name = "ROWS")]

        public List<InvTranActionsDetailsResponseDto> ROWS { get; set; }

    }

    public class InvTranActionsDetailsResponseDto
    {
        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "INTF_STATUS")]
        public string INTF_STATUS { get; set; }

        /// <summary>
        /// 描述 : 返回错误明细 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "INTF_MESSAGE")]
        public string INTF_MESSAGE { get; set; }
        /// <summary>
        /// 描述 : 库存组织名字
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ORGANIZATION_CODE")]
        public string ORGANIZATION_CODE { get; set; }

        /// <summary>
        /// 描述 : 事务处理日期
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSACTION_DATE")]
        public string TRANSACTION_DATE { get; set; }

        /// <summary>
        /// 描述 : 事务处理类型 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSACTION_TYPE")]
        public string TRANSACTION_TYPE { get; set; }


        /// <summary>
        /// 描述 : 事务处理来源（帐户别名接收发放） 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSACTION_SOURCE_NAME")]
        public string TRANSACTION_SOURCE_NAME { get; set; }

        /// <summary>
        /// 描述 :  账户
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "DISTRIBUTION_ACCOUNT")]
        public string DISTRIBUTION_ACCOUNT { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "INVENTORY_ITEM")]
        public string INVENTORY_ITEM { get; set; }


        /// <summary>
        /// 描述 : 子库 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "SUBINVENTORY_CODE")]
        public string SUBINVENTORY_CODE { get; set; }

        /// <summary>
        /// 描述 : 货位
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "LOCATOR_CODE")]
        public string LOCATOR_CODE { get; set; }

        /// <summary>
        /// 描述 :  转至库存组织代码
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSFER_ORGANIZATION_CODE")]
        public string TRANSFER_ORGANIZATION_CODE { get; set; }

        /// <summary>
        /// 描述 :  转至子库
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSFER_SUBINVENTORY")]
        public string TRANSFER_SUBINVENTORY { get; set; }


        /// <summary>
        /// 描述 : 转至货位CODE 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSFER_LOCATOR_CODE")]
        public string TRANSFER_LOCATOR_CODE { get; set; }


        /// <summary>
        /// 描述 :  单位
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSACTION_UOM")]
        public string TRANSACTION_UOM { get; set; }

        /// <summary>
        /// 描述 : 是单位成本
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSACTION_COST")]
        public string TRANSACTION_COST { get; set; }
        /// <summary>
        /// 描述 :  数量
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSACTION_QUANTITY")]
        public string TRANSACTION_QUANTITY { get; set; }

        /// <summary>
        /// 描述 :  批次号
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "LOT_NUMBER")]
        public string LOT_NUMBER { get; set; }

        /// <summary>
        /// 描述 :  到期日
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "LOT_EXPIRATION_DATE")]
        public string LOT_EXPIRATION_DATE { get; set; }

        /// <summary>
        /// 描述 :  生成日期
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ORIGINATION_DATE")]
        public string ORIGINATION_DATE { get; set; }

        /// <summary>
        /// 描述 :  账号
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "USER_NAME")]
        public string USER_NAME { get; set; }

        /// <summary>
        /// 描述 :  来源单据号
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "SCUX_SOURCE_NUM")]
        public string SCUX_SOURCE_NUM { get; set; }
    }
    /// <summary>
    /// 库存处理
    /// </summary>
    public class InvTranActionsRequestDto
    {
        /// <summary>
        /// 系统编码
        /// </summary>
        [Display(Name = "PV_SOURCE_SYS_CODE")]
        public string PV_SOURCE_SYS_CODE { get; set; }

        /// <summary>
        /// 业务类型
        /// </summary>
        [Display(Name = "PV_BUSINESS_TYPE_CODE")]
        public string PV_BUSINESS_TYPE_CODE { get; set; }
        /// <summary>
        /// 标签
        /// </summary>
        [Display(Name = "PV_SYNCHRO_FLAG")]
        public string PV_SYNCHRO_FLAG { get; set; }
        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 1
        /// </summary>
        [Display(Name = "ROWS")]

        public List<TranActionsDetailsRequestDto> ROWS { get; set; }
    }

    public class InvTranActionsDetailsRequestDto
    {
        /// <summary>
        /// 描述 : 库存组织名字
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ORGANIZATION_CODE")]
        public string ORGANIZATION_CODE { get; set; }

        /// <summary>
        /// 描述 : 事务处理日期
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSACTION_DATE")]
        public string TRANSACTION_DATE { get; set; }

        /// <summary>
        /// 描述 : 事务处理类型 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSACTION_TYPE")]
        public string TRANSACTION_TYPE { get; set; }


        /// <summary>
        /// 描述 : 事务处理来源（帐户别名接收发放） 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSACTION_SOURCE_NAME")]
        public string TRANSACTION_SOURCE_NAME { get; set; }

        /// <summary>
        /// 描述 :  账户
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "DISTRIBUTION_ACCOUNT")]
        public string DISTRIBUTION_ACCOUNT { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "INVENTORY_ITEM")]
        public string INVENTORY_ITEM { get; set; }


        /// <summary>
        /// 描述 : 子库 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "SUBINVENTORY_CODE")]
        public string SUBINVENTORY_CODE { get; set; }

        /// <summary>
        /// 描述 : 货位
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "LOCATOR_CODE")]
        public string LOCATOR_CODE { get; set; }

        /// <summary>
        /// 描述 :  转至库存组织代码
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSFER_ORGANIZATION_CODE")]
        public string TRANSFER_ORGANIZATION_CODE { get; set; }

        /// <summary>
        /// 描述 :  转至子库
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSFER_SUBINVENTORY")]
        public string TRANSFER_SUBINVENTORY { get; set; }


        /// <summary>
        /// 描述 : 转至货位CODE 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSFER_LOCATOR_CODE")]
        public string TRANSFER_LOCATOR_CODE { get; set; }


        /// <summary>
        /// 描述 :  单位
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSACTION_UOM")]
        public string TRANSACTION_UOM { get; set; }

        /// <summary>
        /// 描述 : 是单位成本
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSACTION_COST")]
        public string TRANSACTION_COST { get; set; }
        /// <summary>
        /// 描述 :  数量
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSACTION_QUANTITY")]
        public string TRANSACTION_QUANTITY { get; set; }

        /// <summary>
        /// 描述 :  批次号
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "LOT_NUMBER")]
        public string LOT_NUMBER { get; set; }

        /// <summary>
        /// 描述 :  到期日
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "LOT_EXPIRATION_DATE")]
        public string LOT_EXPIRATION_DATE { get; set; }

        /// <summary>
        /// 描述 :  生成日期
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ORIGINATION_DATE")]
        public string ORIGINATION_DATE { get; set; }

        /// <summary>
        /// 描述 :  账号
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "USER_NAME")]
        public string USER_NAME { get; set; }

        /// <summary>
        /// 描述 :  来源单据号
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "SCUX_SOURCE_NUM")]
        public string SCUX_SOURCE_NUM { get; set; }
    }


}
